package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.arpa.ntocc.common.common.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 盘点单 VO
 * @author jinss
 * @date 2020-08-28 10:35:46
 **/
@Data
@ApiModel(value="CountingVO对象", description="盘点单VO")
public class CountingVO  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "盘点单号")
    private String code;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库")
    private String warehouseName;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "入驻商")
    private String shipmentName;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "动碰次数")
    private Long opQuantity;

    @ApiModelProperty(value = "监盘人")
    private String supervisor;

    @ApiModelProperty(value = "状态:0:新增；1：待盘点；2：盘点中；3：待审核；4：作废；5：已审核")
    private String status;

    @ApiModelProperty(value = "单据类型")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "创建人")
    private String createdName;

    @ApiModelProperty(value = "修改人")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "下发状态:0未下发，1已下发；")
    private Integer issue;

    @ApiModelProperty(value = "明细")
    private List<CountingItemVO> countingItemList= new ArrayList<>();

    @ApiModelProperty(value = "盘点登记明细")
    private List<CountingRegisterVO> countingRegisterList= new ArrayList<>();

    @ApiModelProperty(value = "盘点登记明细分页")
    private Page returnPage;

    @ApiModelProperty(value = "库位名称")
    private String locationName;

    @ApiModelProperty(value = "所属机构名称")
    private String groupName;
}
